home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 123 / cdrom123.iso / essenc / extens / imzoom / Image Zoom.xpi / chrome / imagezoom.jar / content / customdim.xul < prev    next >
Encoding:
Extensible Markup Language  |  2004-07-03  |  2.1 KB  |  48 lines

  1. <?xml version="1.0"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.     
  4.     Copyright (c) 2004  Jason Adams <jason_nospam@yellowgorilla.net>
  5.     
  6.     This file is part of Image Zoom.
  7.  
  8.     Image Zoom is free software; you can redistribute it and/or modify
  9.     it under the terms of the GNU General Public License as published by
  10.     the Free Software Foundation; either version 2 of the License, or
  11.     (at your option) any later version.
  12.  
  13.     Image Zoom is distributed in the hope that it will be useful,
  14.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.     GNU General Public License for more details.
  17.  
  18.     You should have received a copy of the GNU General Public License
  19.     along with Image Zoom; if not, write to the Free Software
  20.     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  21.  
  22. ***** END LICENSE BLOCK ***** -->
  23. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  24.  
  25. <!DOCTYPE window SYSTEM "chrome://imagezoom/locale/imageZoom.dtd">
  26.  
  27.  
  28. <dialog buttons="accept, cancel"
  29.         id="imagezoom-customdim-dialog"
  30.         ondialogaccept="imagezoom_customDim()"
  31.         onload="imagezoom_loadCustomDim()"
  32.         title="&pref.iz.customdim.title;"
  33.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  34.  
  35.     <script type="application/x-javascript" src="chrome://imagezoom/content/global.js"/>
  36.     <script type="application/x-javascript" src="chrome://imagezoom/content/dialogs.js"/>
  37.  
  38.     <vbox flex="1">
  39.           <hbox>
  40.           <label value="&pref.iz.customdimwidth.label;"/>          
  41.           <textbox id="dimWidth" size="2" onkeypress="return validateKeyPress(event);" oninput="widthInput(event);"/>
  42.           <label value="&pref.iz.customdimheight.label;"/>          
  43.           <textbox id="dimHeight" size="2" onkeypress="return validateKeyPress(event);" oninput="heightInput(event);"/>          
  44.           </hbox>
  45.           <checkbox id="dimAspect" class="indent" style="margin-top:5px;" label="&pref.iz.customdimaspect.label;" onclick="checkInput(event);"/>
  46.     </vbox>
  47. </dialog>
  48.